package com.umakr.ax.common.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.umakr.ax.common.model.AppVersion;
import com.umakr.ax.core.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2018-03-17
 */
public interface AppVersionMapper extends BaseMapper<AppVersion> {
    Page<AppVersion> listHisVersion(@Param("versionCode") Integer versionCode,
                                    @Param("versionType") Integer versionType);

    void  saveNewVersion(AppVersion appVersion);

    List<AppVersion> getNewAppVersionName();

}